package com.sumfun.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sumfun.blog.model.domain.ArticleCategoryReferenced;
import com.sumfun.blog.model.request.ArticleUpdateRequest;

import java.util.List;
import java.util.Map;

/**
* @author 17337
* @description 针对表【article_category_referenced(文章分类 )】的数据库操作Service
* @createDate 2025-01-13 11:16:57
*/
public interface ArticleCategoryReferencedService extends IService<ArticleCategoryReferenced> {
    Map<Long, List<ArticleCategoryReferenced>> getByArticleIds(List<Long> articleIds);

    List<Long> getCategoryIdsByArticleId(Long articleId);

    void updateArticle(ArticleUpdateRequest articleUpdateRequest);
}
